package com.wideplay.warp.security;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

/**
 * Created with IntelliJ IDEA.
 * On: 25/09/2007
 *
 * An adapter that delegates to Acegi's method interceptor (may add gabriel support?)
 *
 * @author Dhanji R. Prasanna
 * @since 1.0
 */
class MethodSecurityInterceptor implements MethodInterceptor {

    public Object invoke(MethodInvocation methodInvocation) throws Throwable {
        //TODO delegate to acegi interceptor
        //...

        return methodInvocation.proceed();
    }
}
